
<meta charset="UTF-8">

<nav class="navbar navbar-default navbar-static-top" role="navigation"
	style="margin-bottom: 0px;">
	<div class="container-fluid">
		<div class="navbar-header">
			<a class="navbar-brand" href="${rc.contextPath}/">城建就业指导网</a>
		</div>
		<div>
			<ul class="nav navbar-nav">
				<li><a href="${rc.contextPath}/company/list/1">公司</a></li>
				<li><a href="${rc.contextPath}/job/list/1">招聘</a></li>
				<li><a href="${rc.contextPath}/forum/list/1">论坛</a></li>
				<li class="dropdown"><a href="#" class="dropdown-toggle"
					data-toggle="dropdown"> 校园<span class="caret"></span>
				</a>
					<ul class="dropdown-menu">
						<li><a href="${rc.contextPath}/campus/list/0/1">公告</a></li>
						<li><a href="${rc.contextPath}/campus/list/1/1">指导</a></li>
					</ul></li>
			</ul>
			<ul class="nav navbar-nav navbar-right">
				#if($curr_user) 
				#if($curr_user.usertype == 0)
				<li class="dropdown"><a href="#" class="dropdown-toggle"
					data-toggle="dropdown"> $!curr_user.nickname<span class="caret"></span>
				</a>
					<ul class="dropdown-menu">
						<li><a href="${rc.contextPath}/user/collection/job/1">我收藏的职位</a></li>
						<li><a href="${rc.contextPath}/user/collection/company/1">我关注的公司</a></li>
						<li><a href="${rc.contextPath}/user/setting">账号设置</a></li>
						<li><a href="${rc.contextPath}/logout">退出</a></li>
					</ul>
				</li> 
				#else
				<li class="dropdown"><a href="#" class="dropdown-toggle"
					data-toggle="dropdown"> $!curr_user.nickname<span class="caret"></span>
				</a>
					<ul class="dropdown-menu">
						<li><a href="${rc.contextPath}/user/enterprise/mycompany">我的公司</a></li>
						<li><a href="${rc.contextPath}/user/enterprise/myjob/1">我发布的职位</a></li>
						<li><a href="${rc.contextPath}/user/collection/job/1">我收藏的职位</a></li>
						<li><a href="${rc.contextPath}/user/collection/company/1">我关注的公司</a></li>
						<li><a href="${rc.contextPath}/user/setting">账号设置</a></li>
						<li><a href="${rc.contextPath}/logout">退出</a></li>
					</ul>
				</li> 
				#end 
				#else
				<li><a href="${rc.contextPath}/login"><span
						class="glyphicon glyphicon-log-in">登录</span></a></li>
				<li><a href="${rc.contextPath}/register"><span
						class="glyphicon glyphicon-user">注册</span></a></li> #end
			</ul>
		</div>
	</div>
</nav>
